ContextMode

enum ContextMode

Describes the map context mode. We can make some optimizations if we know that the drawing context is not shared with other code.

Entries

UNIQUE
Link copied to clipboard
Unique context mode: in OpenGL, the GL context is not shared, thus we can retain knowledge about the GL statefrom a previous render pass.
SHARED
Link copied to clipboard
Shared context mode: in OpenGL, the GL context is shared with other renderers, thus we cannot rely on the GLstate set from a previous render pass.

Functions

valueOf
Link copied to clipboard
open fun valueOf(name: String): ContextMode
values
Link copied to clipboard
open fun values(): Array<ContextMode>